#ifndef M_HOUSEMASTERMANAGE_H
#define M_HOUSEMASTERMANAGE_H

#include <QDialog>
#include <QSqlQueryModel>
#include <QSqlQuery>
#include <QMessageBox>

namespace Ui {
class M_houseMasterManage;
}

class M_houseMasterManage : public QDialog
{
    Q_OBJECT

public:
    explicit M_houseMasterManage(QWidget *parent = nullptr);
    ~M_houseMasterManage();
    void querytable();
private slots:
    void on_insertBtn_clicked();

    void on_deleteBtn_clicked();

    void on_updateBtn_clicked();

private:
    Ui::M_houseMasterManage *ui;
    QSqlQueryModel model;
};

#endif // M_HOUSEMASTERMANAGE_H
